package com.sxwl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author reading
 * @Description TODO
 * @Date 2020/4/3 23:23
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.sxwl.mapper") //注意这里的mapperscan是tk.mybatis.spring.annotation.MapperScan 这个包下的
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class,args);
    }
}
